<template>
	<view class="index page">
		<view class="header">
			<nav-bar title="往期周报"></nav-bar>
		</view>
		<view class="top">
			<view class="search">
				<input type="text" placeholder="请输入活动名称" placeholder-style="color:#9B9B9B;">
			</view>
			<view class="nav">
				<view class="nav-item" @click="showSelect = !showSelect">
					<text class="text">本年度</text>
					<uni-icons type="bottom" size="18rpx"></uni-icons>
				</view>
				<view class="nav-item">
					<text class="text">发布时间</text>
					<uni-icons type="bottom" size="18rpx"></uni-icons>
				</view>
			</view>
		</view>
		<view class="main">
			<scroll-view class="scroll" scroll-y="true" >
				<view class="list" v-for="(item, index) in [1,2,3,4,5]">
					<view class="poster">
						<image src="" mode=""></image>
					</view>
					<view class="right">
						<view class="title">
							第五十五期活动周报
						</view>
						<view class="time">
							2023-1-7——2023-1-14
						</view>
					</view>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss">
	@import "@/common/style/common.scss";
	.index{
		@include flex-c;
		
		>.header {
			flex: 0 0 auto;
		}
		
		>.top {
			flex: 0 0 auto;
		
			.search {
				width: 100%;
				padding: 28rpx 42rpx;
				background: linear-gradient(90deg, #0096FF 0%, #0069FF 100%);
		
				input {
					display: block;
					padding: 0 30rpx;
					box-sizing: border-box;
					height: 64rpx;
					width: 100%;
					color: #9B9B9B;
					font-size: 24rpx;
					background-color: #ffffff;
					border-radius: 38rpx;
				}
			}
		
			.nav {
				@include flex-r-center-center;
				padding: 20rpx 60rpx;
				border-bottom: #E6E6E6 solid 2rpx;
		
				.nav-item {
					flex: 1;
					@include flex-r-center-center;
					color: #656974;
					font-size: 24rpx;
					position: relative;
					.text {
						padding-right: 16rpx;
					}
					.dataSelect{
						position: absolute;
						top: 20rpx;
					}
				}
			}
		}
		>.main{
			flex: 1 0 0;
			overflow: hidden;
			.scroll{
				height: 100%;
				padding: 0 30rpx;
				.list{
					@include flex-r;
					padding: 26rpx 0 36rpx;
					border-bottom: #F6F6F6 solid 2rpx;
					&:last-child{
						border-bottom: none;
					}
					.poster{
						width: 270rpx;
						height: 156rpx;
						background-color: red;
						image{
							width: 100%;
							height: 100%;
						}
					}
					.right{
						padding-left: 22rpx;
						.title{
							color: #000000;
							font-size: 28rpx;
							line-height: 40rpx;
							font-weight: 600;
						}
						.time{
							padding: 20rpx 0 0;
							font-size: 24rpx;
							line-height: 34rpx;
							color: #C6C6C6;
						}
					}
				}
			}
		}
	}
</style>